package com.ruoyi.system.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.ruoyi.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.io.Serializable;
import java.math.BigDecimal;


/**
 * 挂号级别对象 RegistLevel
 *
 * @author ruoyi
 * @date 2023-07-04
 */


@TableName("RegistLevel")
@ApiModel(value = "RegistLevel对象", description = "挂号级别")
public class RegistLevel implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @Excel(name = "id")
    @ApiModelProperty("id")
    @TableId(value = "Id", type = IdType.AUTO)
    private Long Id;

    /**
     * 号别编码
     */
    @Excel(name = "号别编码")
    @ApiModelProperty("号别编码")
    @TableField("RegistCode")
    private String RegistCode;

    /**
     * 号别名称
     */
    @Excel(name = "号别名称")
    @ApiModelProperty("号别名称")
    @TableField("RegistName")
    private String RegistName;

    /**
     * 显示顺序号
     */
    @ApiModelProperty("显示顺序号")
    @TableField("Sequence")
    private Long Sequence;

    /**
     * 挂号费
     */
    @Excel(name = "挂号费")
    @ApiModelProperty("挂号费")
    @TableField("RegistFee")
    private BigDecimal RegistFee;

    /**
     * 删除标记1-正常0-已删除
     */
    @ApiModelProperty("删除标记1-正常0-已删除")
    @TableField("DelMark")
    private Long DelMark;

    @JsonProperty("Id")
    public Long getId() {
        return Id;
    }

    public void setId(Long Id) {
        this.Id = Id;
    }

    @JsonProperty("RegistCode")
    public String getRegistCode() {
        return RegistCode;
    }

    public void setRegistCode(String RegistCode) {
        this.RegistCode = RegistCode;
    }

    @JsonProperty("RegistName")
    public String getRegistName() {
        return RegistName;
    }

    public void setRegistName(String RegistName) {
        this.RegistName = RegistName;
    }

    @JsonProperty("Sequence")
    public Long getSequence() {
        return Sequence;
    }

    public void setSequence(Long Sequence) {
        this.Sequence = Sequence;
    }

    @JsonProperty("RegistFee")
    public BigDecimal getRegistFee() {
        return RegistFee;
    }

    public void setRegistFee(BigDecimal RegistFee) {
        this.RegistFee = RegistFee;
    }

    @JsonProperty("DelMark")
    public Long getDelMark() {
        return DelMark;
    }

    public void setDelMark(Long DelMark) {
        this.DelMark = DelMark;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("Id", getId())
                .append("RegistCode", getRegistCode())
                .append("RegistName", getRegistName())
                .append("Sequence", getSequence())
                .append("RegistFee", getRegistFee())
                .append("DelMark", getDelMark())
                .toString();
    }
}

